package encapsulation;

/**
 * @classname:Music
 * @description:
 * @author: Mr.Z
 * @date: 2020/11/28 11:30
 * @version: 0.1
 * @since:1.8
 */
public class Music {
    private String musicName;
    private double playtime;
    private String player;
    public Music() {
    }
    public Music(String musicName, double playtime, String player) {
        this.musicName = musicName;
        this.playtime = playtime;
        this.player = player;
    }

    public String getMusicName() {
        return musicName;
    }

    public void setMusicName(String musicName) {
        this.musicName = musicName;
    }

    public double getPlaytime() {
        return playtime;
    }

    public void setPlaytime(double playtime) {
        this.playtime = playtime;
    }

    public String getPlayer() {
        return player;
    }

    public void setPlayer(String player) {
        this.player = player;
    }
}
